package com.cqupt.service;

import java.util.List;
import java.util.Map;

public interface DemoService {
    List<Map<String, Object>> getUtilizationByName(String hostId, String name);
    List<Map<String, Object>> getAllOnlineHost();

    /**
     * 分页获取在线主机
     * @param curPage 选择的当前页
     * @param pageSize 每页大小
     * @return result(消息list)，dataNum(总条数)
     */
    Map<String, Object> getPageableOnlineHost(String curPage, String pageSize);
}
